require 'active_record/fixtures'

class AddTeacherData < ActiveRecord::Migration
  def self.up
    down

    directory = File.join(File.dirname(__FILE__), 'dev_data')
    Fixtures.create_fixtures(directory, 'teachers')
  end

  def self.down
    Teacher.delete :all
  end
end
